package com.kongjian.manage.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kongjian.manage.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* @author tangjunfeng
* @Classname UserDept.java
* @Description SuperEntity
* @Date 2023-10-10
* @Version V1.0
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_dept")
public class UserDeptEntity extends SuperEntity<UserDeptEntity> {

    private static final long serialVersionUID = 1L;


    /**
     * 部门ID
     */
    private String deptId;

    /**
     * 员工ID
     */
    private String userId;


    @Override
    public Serializable pkVal() {
        return this.id;
    }


}